<template >
    <div>   
        <van-grid :column-num="2">
            <van-grid-item v-for="(item,index) in list" :key="index"  >
                <van-image :src="item.pic"></van-image>
                <p>{{item.t}}</p>
            </van-grid-item>
          </van-grid>
    </div>
</template>
<script>
    import axios form 'axios'
export default {
    data(){
        return {
            list:[],
        }
    },
    methods:{
        add(){
            axios.get('list1.json').then(res=>{
                console.log(res);
                this.list = res.data.result;
            })
        }
    }
}
</script>
<style lang="">
    
</style>